package com.wangshen.administrator.ygqq.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.wangshen.administrator.ygqq.MainActivity;
import com.wangshen.administrator.ygqq.R;
//开机 画面
/**
 * Created by Administrator on 2016/7/26.
 */
public class BootActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_boot);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent(BootActivity.this, MainActivity.class);
                startActivity(intent);
                BootActivity.this.finish();
            }
        }, 2000);
    }

}
